/**
 * 零基础学C语言
 * 
 * @version 1st
 * @author 明日科技
 * @see http://www.mingrisoft.com
 */

#include <stdio.h>

int main() {
    int iNum1, iNum2;

    iNum1 = 88;
    iNum2 = 0;

    printf("the 1 is true, 0 is false\n");
    printf("5 < iNum1&&iNum2 is %d\n", 5 < iNum1 && iNum2);
    printf("5 < iNum1 || iNum2 is %d\n", 5 < iNum1 || iNum2);
    
    iNum2 = !!iNum1;
    printf("iNum2 is %d\n", iNum2);
    
    return 0;
}

/*
output:
the 1 is true, 0 is false
5 < iNum1&&iNum2 is 0
5 < iNum1 || iNum2 is 1
iNum2 is 1
*/